package com.ruoyi.elasticsearch.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ruoyi.elasticsearch.domain.Hotel;
import com.ruoyi.elasticsearch.domain.QuotaEntity;
import org.apache.ibatis.annotations.Select;

import java.util.List;

public interface QuotaMapper  extends BaseMapper<QuotaEntity> {


    @Select("select * from things_quota where subject=#{subject} ")
    List<QuotaEntity> selectBySubject(String subject);
}
